package com.vcredit.creditcat.service;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.vcredit.creditcat.model.ChannelStatisticsConfigOwner;
import com.vcredit.creditcat.persistence.base.ChannelStatisticsConfigOwnerMapper;
/**
 * 
 **/
@Service
public class ChannelStatisticsConfigOwnerService {
	@Autowired
    private ChannelStatisticsConfigOwnerMapper mapper;
    
    public void insert(ChannelStatisticsConfigOwner obj){
    	mapper.insert(obj);
    }
    
    public void update(ChannelStatisticsConfigOwner obj){
    	mapper.update(obj);
    }
    
    public List<ChannelStatisticsConfigOwner> findAll(){
		return mapper.findAll();
	}
	
	private List<ChannelStatisticsConfigOwner> find(ChannelStatisticsConfigOwner obj){
		return mapper.find(obj);
	}
}